﻿<Window x:Class="DataBinding.SimpleDataBinding"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Simple Data Binding" Height="182.091" Width="310.155">
    <Grid>
        <TextBlock Text="{Binding ElementName=Slider1, Path=Value}" 
                   Margin="30,37,0,0" Name="TextBlock1" Height="22" HorizontalAlignment="Left" VerticalAlignment="Top" Width="121" />
        
        <Slider Height="22" HorizontalAlignment="Left" Margin="38,89,0,0" 
                Name="Slider1" VerticalAlignment="Top" Width="100" Value="0" />
        
        <TextBlock HorizontalAlignment="Right" Margin="0,16.675,11.339,15.341" Name="TextBlock2" Width="96.715" TextWrapping="Wrap">
            Dependency property to dependency property data binding.
        </TextBlock>
    </Grid>
</Window>
